package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingPlanDto;
import com.zzyl.vo.NursingPlanVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description NursingPlanMapper
 * @Author chun jiang
 * @Date 2024-07-08
 */
@Mapper
public interface NursingPlanMapper {

    List<NursingPlanVo> getAll();

    void add(NursingPlanDto nursingPlanDto);
    Page<NursingPlanVo> selectByPage(String name, Integer status);

    NursingPlanVo getById(Long id);

    void updateById(NursingPlanDto nursingPlanDto);

    void deleteById(Long id);

    void changeStatus(Long id, Integer status);
}
